import { useContext } from "react"
import Context from "../../utils/context"

const Son = () => {
    const con = useContext(Context)
    return (
        <>
            <h1>Son组件</h1>
            {/* <Context.Consumer> */}
            {con}
            {/* </Context.Consumer> */}
        </>
    )
}

export default Son